﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Windows;

namespace WPF_MVVMDemo
{
    /// <summary>
    /// Interaction logic for App.xaml
    /// </summary>
    public partial class App : Application
    {

        protected override void OnStartup(StartupEventArgs e)
        {
            base.OnStartup(e);
            MainWindow mw = new MainWindow();
            MainWindowModel mwm = new MainWindowModel();
            //mwm.SelectionChanged +=mw.lv_Date.SelectionChanged;
            mw.DataContext = mwm;
            mw.Show();
        }
    }
}
